package com.qqtech.qquan.pub.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.qqtech.core.frame.dao.BaseDaoImpl;
import com.qqtech.qquan.pub.model.*;

@Repository
public class PubUpgradeVersionDaoImpl extends BaseDaoImpl<PubUpgradeVersion> implements PubUpgradeVersionDao {
	public static final Logger log = LoggerFactory.getLogger(PubUpgradeVersionDaoImpl.class);
	
	public PubUpgradeVersion getByCurrVersion(java.lang.String currVersion) {
		return sqlSessionTemplate.selectOne(getSqlName("selectByCurrVersion"), currVersion);
	}	
}
